﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Home.aspx.cs" Inherits="PresentationLayer.View.Home" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <style type="text/css">
    .bg1
    {
        background-image:url(../contents/bg1.jpg);
        background-position:left top;
        background-repeat:repeat-x;
        color:White;
    }
    .bg2
    {
        background-image:url(../contents/pic3.jpg);
        background-position:left top;
        background-repeat:repeat-x;
    }
    body
    {
        font-family:Verdana;
        font-size:12px;
    }
    .logo
    {
        padding-top: 20px;
        padding-left:10px;
        font-size:30px;
        color:White;
        font-weight:bold;
    }
     .logo1
    {
        background-image:url(../contents/pic1.jpg);
        background-position:right top;
        background-repeat:no-repeat;
    }
    .logo2
    {
        background-image:url(../contents/pic2.jpg);
        background-position:right top;
        background-repeat:no-repeat;
    }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div style="padding:0 auto 0 auto;">    
            <table style="width:100%;height:100%;" cellspacing="0" cellpadding="0">
                <tr>
                    <td colspan="2" style="padding-top:0px;">
                    <!-- banner -->
                   <table width="100%" cellpadding="0" cellspacing="0" style="height:290px;" border="0">
                        <tr>
                            <td style="height:42px;" class="bg1" id="banLink">&nbsp;&nbsp;
                               &nbsp;                                
                            </td>
                            <td style="height:42px;width:290px;" class="logo1">&nbsp;</td>
                        </tr>
                        <tr>
                            <td style="height:248px; vertical-align:top;" class="bg2">
                            <p class="logo">
                            Logic University<br />
                            Stationery Inventory System
                            </p>
                            </td>
                           <td style="height:248px;padding-top:0px;width:290px;" class="logo2">&nbsp;</td>
                        </tr>
                    </table>
                    </td>
                </tr>
                <tr>
                    <td style="height:auto;padding: 20px 0 50px 0px;" colspan="2" align="center">
                    <!-- body -->
                           <table width="500px" style="height: 199px; border:1px solid #023145">
                                <tr>
                                    <td style="background-color:#023145;color:White;height:30px;text-align:center; font-weight:bold;" colspan="3">Login</td>
                                </tr>
                                <tr>
                                    <td class="style1"> Employee Id&nbsp; </td>
                                    <td class="style1"> 
                                        <asp:TextBox ID="txtEmpId" runat="server" Width="158px"></asp:TextBox>
                                    </td><td>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                            ControlToValidate="txtEmpId" ErrorMessage="Fill Employee Id" 
                                            ForeColor="Red"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="style1">Password </td>
                                    <td class="style1">
                                        <asp:TextBox ID="txtPassword" runat="server" Width="159px" TextMode="Password"></asp:TextBox>
                                         </td><td>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                            ControlToValidate="txtPassword" ErrorMessage="Fill Password" 
                                            ForeColor="Red"></asp:RequiredFieldValidator>
    
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2" style="text-align:center;" class="style2">
                                        <asp:Button ID="btnLogin" runat="server" Text="Login" Width="65px" 
                                            onclick="btnLogin_Click" />
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2" style="text-align:left;">
    
                                        <asp:Label ID="lblError" runat="server" ForeColor="Red"></asp:Label>
    
                                &nbsp;&nbsp;&nbsp;
                                            
                                    </td>
                                </tr>

                                </table>
                    </td>
                </tr>
                <tr style="height:50px;">
                    <td colspan="2" class="bg1" align="center">@copyright SA34-Team12</td>
                </tr>
                                
            </table>
        
    </div>
    </form>
</body>
</html>